package org.huhuiyu.easyui.enity;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class JQueryMenu implements Serializable {
	private static final long serialVersionUID = -5937628859192031825L;

	private int id;
	private String text;
	private Map<String, String> attributes = new HashMap<String, String>();
	private List<JQueryMenu> children;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public Map<String, String> getAttributes() {
		return attributes;
	}

	public void setAttributes(Map<String, String> attributes) {
		this.attributes = attributes;
	}

	public List<JQueryMenu> getChildren() {
		return children;
	}

	public void setChildren(List<JQueryMenu> children) {
		this.children = children;
	}

	public JQueryMenu() {
	}

	@Override
	public String toString() {
		return "JQueryMenu [id=" + id + ", text=" + text + ", attributes="
				+ attributes + ", children=" + children + "]";
	}

}
